home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
conhlp.arc
/
CONHELP.H
< prev
next >
Wrap
Text File
|
1988-10-26
|
3KB
|
137 lines
/* Machine type definitions */
#define BRIDGE 1
#define FILESERVER 0
/* Read/Write pointer seek definitions */
#define BEG_FILE 0
#define CUR_LOC 1
#define END_FILE 2
/* Record and buffer size definitions */
#define MAX_RECORDS 20
#define RECORD_SIZE 80
#define MAX_BUFFER_SIZE RECORD_SIZE * MAX_RECORDS
/* Menu/item selection definitions */
#define MAX_MENUS 8
#define MAX_MENU_ITEMS 10
/* Main menu selection definitions */
#define MAINHELPOFF 0L
#define MAINHELPLEN 20
struct MenuListStructure {
long menuPtr;
unsigned menuLength;
struct ScreenStructure {
long screenPtr;
unsigned screenLength;
} Screen[MAX_MENU_ITEMS];
} MenuList[MAX_MENUS] = {
{ 1600L,17,
{ 9920L,20,
11520L,20,
13120L,19,
14640L,14,
15760L,19, /*Printer commands*/
17280L,20,
18880L,17,
20240L,17,
21600L,20,
23200L,18,
}
},
{ 2960L,17,
{ 24640L, 19,
26160L, 19,
27680L, 17,
29040L, 18,
30480L, 20, /*Queue/spooling commands*/
32080L, 13,
33120L, 18,
34560L, 18,
36000L, 20,
NULL, 0
}
},
{ 6000L, 17,
{ 60080L, 20,
61680L, 20,
63280L, 20,
64880L, 20, /*Disk commands*/
66480L, 20,
68080L, 20,
69680L, 20,
71280L, 20,
NULL, 0,
NULL, 0
}
},
{ 8000L, 14,
{ 46960L, 20,
48560L, 20,
50160L, 12,
51120L, 20,
52720L, 20,
54320L, 16,
NULL, 0,
NULL, 0, /* Server commands */
NULL, 0,
NULL, 0
}
},
{ 9120L, 10,
{ 55600L, 20,
57200L, 16,
58480L, 20,
NULL, 0,
NULL, 0, /*Message commands*/
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0
}
},
{ 4320L, 10,
{ 37600L, 20,
39200L, 19,
40720L, 15,
NULL, 0,
NULL, 0, /*Connection commands*/
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0
}
},
{ 7360L, 8,
{ 72880L, 17,
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0, /* Other VAP Commands */
NULL, 0, /* You can add help for your own commands here */
NULL, 0,
NULL, 0,
}
},
{ 5120L, 11,
{ 41920L, 16,
43200L, 15,
44400L, 13, /*Miscellaneous commands*/
45440L, 19,
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0,
NULL, 0
}
}
};